package top.infopub.model.mgc;


import java.math.BigDecimal;
import java.util.Date;

import top.infopub.generic.GenericEntity;


/** 消息任务表(MGC_MSG_TASK) **/
public class MsgTask extends GenericEntity {

    private static final long serialVersionUID = 1L;

    /*主键ID*/
    private String id;

    /*主键ID*/
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /* 新增时间 */
    private Date addtime;

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    /* 附件 */
    private String attach;

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    /* 发送开始时间 */
    private Date beginSendDatetime;

    public Date getBeginSendDatetime() {
        return beginSendDatetime;
    }

    public void setBeginSendDatetime(Date beginSendDatetime) {
        this.beginSendDatetime = beginSendDatetime;
    }

    /* 消息内容 */
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    /* 0：启用 1：删除 */
    private Integer delFlag;

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    /* 1：实时 2 ：延时 */
    private Integer isRealtime;

    public Integer getIsRealtime() {
        return isRealtime;
    }

    public void setIsRealtime(Integer isRealtime) {
        this.isRealtime = isRealtime;
    }

    /* 消息抄送人 */
    private String msgCc;

    public String getMsgCc() {
        return msgCc;
    }

    public void setMsgCc(String msgCc) {
        this.msgCc = msgCc;
    }

    /* 相关描述信息 */
    private String msgDesc;

    public String getMsgDesc() {
        return msgDesc;
    }

    public void setMsgDesc(String msgDesc) {
        this.msgDesc = msgDesc;
    }

    /* 消息收件人 */
    private String msgRecipient;

    public String getMsgRecipient() {
        return msgRecipient;
    }

    public void setMsgRecipient(String msgRecipient) {
        this.msgRecipient = msgRecipient;
    }

    /* 消息来源系统 */
    private String msgSourceSystem;

    public String getMsgSourceSystem() {
        return msgSourceSystem;
    }

    public void setMsgSourceSystem(String msgSourceSystem) {
        this.msgSourceSystem = msgSourceSystem;
    }

    /* 消息类型  1： 短信 2：邮件 */
    private Integer msgType;

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    /* 消息模板，通过消息模板关联通道 */
    private String senderTemplateId;

    public String getSenderTemplateId() {
        return senderTemplateId;
    }

    public void setSenderTemplateId(String senderTemplateId) {
        this.senderTemplateId = senderTemplateId;
    }

    /* 发送类别 1：单发 2：群发 */
    private Integer senderType;

    public Integer getSenderType() {
        return senderType;
    }

    public void setSenderType(Integer senderType) {
        this.senderType = senderType;
    }

    /* 供应商ID */
    private String spartnerId;

    public String getSpartnerId() {
        return spartnerId;
    }

    public void setSpartnerId(String spartnerId) {
        this.spartnerId = spartnerId;
    }

    /* 消息状态 1：待发送 2：正在发送 3：发送成功 4：发送失败  */
    private Integer state;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    /* 分类编号  参见Template_Type Code */
    private String templateCode;

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    /* 超时时间  0为不超时  单位（分钟） */
    private BigDecimal timeout;

    public BigDecimal getTimeout() {
        return timeout;
    }

    public void setTimeout(BigDecimal timeout) {
        this.timeout = timeout;
    }

    /* 标题 */
    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /* 修改时间 */
    private Date updatetime;

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

}